class Tabelle::CcnlController < Tabelle::MetodiPagamentoController
  active_scaffold :ccnl do |config|
    config.label = Application.controller_label(self)
    config.columns = [ :name, :descrizione, :ore_settimanali, :ore_ferie_annuali, :livelli_ccnl ]
    config.columns[:descrizione].options = SMALL_TEXTAREA
    config.action_links.add "Note", :action => 'nested', :parameters => {:associations => :note}, :type => :member
    config.action_links.add "Allegati", :action => 'nested', :parameters => {:associations => :allegati}, :type => :member
  end
end
